﻿namespace ResumableDownload.View
{
    using ViewModel;

    public partial class MainPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void StartClicked(object sender, System.Windows.RoutedEventArgs e)
        {
            ((MainViewModel)this.DataContext).StartCommand.Execute(null);
        }

        private void StopClicked(object sender, System.Windows.RoutedEventArgs e)
        {
            ((MainViewModel)this.DataContext).StopCommand.Execute(null);
        }

        private void Cliced(object sender, System.Windows.RoutedEventArgs e)
        {

        }
    }
}